package com.fasteat.menu.service.client;

import com.fasteat.common.entity.Result;
import com.fasteat.menu.entity.client.HistoryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author run
 * @since 2021/3/9 22:31
 */
@FeignClient(value = "fasteat-ucenter-service")
public interface UcenterClient {

    @PostMapping("/ucenter/history/in")
    public Result recordHistory(HistoryVo historyVo);
}
